import Layout from '@/layouts';

export default [
  {
    path: '/security',
    name: 'Security',
    component: Layout,
    redirect: '/security/syslogs',
    meta: { title: '安全', icon: 'lock-on' },
    children: [
      {
        path: 'syslogs',
        name: 'SysLogs',
        component: () => import('@/pages/security/logs/index.vue'),
        meta: { title: '操作历史' },
      },
      {
        path: 'userlog',
        name: 'UserLogs',
        component: () => import('@/pages/security/user-logs/index.vue'),
        meta: { title: '用户日志' },
      },
      {
        path: 'config',
        name: 'DicmConfig',
        component: () => import('@/pages/security/config/index.vue'),
        meta: { title: '动态配置' },
      },
    ],
  },
];
